package com.starchen.optimalselection.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starchen.optimalselection.admin.model.AdminMenu;
import com.starchen.optimalselection.admin.model.vo.AdminMenuVo;
import com.starchen.optimalselection.admin.model.vo.RouterVo;

import java.util.List;

/**
 * @author daxilong
 * @date 2025/3/21 21:23
 */
public interface AdminMenuService extends IService<AdminMenu> {

    //菜单列表（树形）
    List<AdminMenu> findNodes();

    //删除菜单
    boolean removeMenuById(Long id);

    //查询用户可以操作菜单
    List<RouterVo> findMenusByUserId(Integer id);

    List<String> getUserButtonList(Integer userId);

}
